FROM openjdk:8-jdk-alpine
ARG APP_VERSION
ARG APP_NAME
ARG APP_PORT
ENV APP_VERSION=${APP_VERSION}
ENV APP_NAME=${APP_NAME}
ENV APP_PORT=${APP_PORT}
ADD ${APP_NAME}-${APP_VERSION}.jar /${APP_NAME}-${APP_VERSION}.jar
ENTRYPOINT java -jar /${APP_NAME}-${APP_VERSION}.jar
